package com.project.model;


import java.util.List;


import com.project.dto.JoinFriendDto;
import com.project.dto.JoinTtalkDto;
import com.project.dto.TFriendDto;
import com.project.dto.TPeopleDto;
import com.project.dto.TPicDto;
import com.project.dto.TWallDto;
import com.project.dto.TtalkDto;

public interface ITPeopleUser {
	public int addTpeopleUser(TPeopleDto tDto);
	public int updateTpeopleUser(TPeopleDto tDto);
	public TPeopleDto login(TPeopleDto tDto);
	public int updateUserState(String email);
	public List<TPeopleDto> connTPeopleUser(String conn);
	public int updateTpeople(TPeopleDto tDto);
	public int writeTwall(TWallDto tDto);
	public List<TWallDto> getTWallList(String board);
	
	
	public TPeopleDto selectuser(String email);
	
	public int replyinsert(TWallDto tDto);
	public int replyupdate(TWallDto tDto);
	public List<TPeopleDto> findTpeopleUser(String name);
	public int regiTFriendDto(TFriendDto tDto);
	public int updateTFriendDto(TFriendDto tDto);
//	public JoinFriendDto findTFriendDto(String email);
	public List<JoinFriendDto> getTMateListDto(String email);
	public TPeopleDto friendDto(String email);
	public List<TFriendDto> friendList(String email);
	public int del(int wcode);
	
	
	public int addFile(TPeopleDto tDto); 
	public int addTpic(TPicDto tDto);
	
	public TPicDto getTpic(int pcode);
	
	public int tpicreply(TPicDto tDto);
	
	public List<TPicDto> allreply(int pcode);
	public int delpic(int pcode);
	public int logoutUserState(String email);
	
	
	public List<JoinFriendDto> getTtalkFriendList(JoinFriendDto fdto);
	public int writeTtalkDto(TtalkDto tDto);
	public int writeJoinTtalkDto(JoinTtalkDto tDto);
	public List<JoinTtalkDto> getTtalkContList(String email);
	public List<JoinTtalkDto> getTtalkSendList(String email);
	public List<JoinFriendDto> getConnFriendList(JoinFriendDto cdto);
	public int receiveDelTtalk(TtalkDto tDto);
	public int sendDelTtalk(TtalkDto tDto);
	
	public int getCount(String email);
	public List<TWallDto> getTWallList1(String board,int page);
	
	public int getTpicCount(String email);
	public List<TPeopleDto> flist(String email);
	public List<TPicDto> allTpic(String pboard,int page);
	
	public List<TWallDto> allTNews(String email);
	
}
